KS
Killer-Skills

Test Commander — Categories.community

v1.0.0
GitHub

About this Skill

Ideal for PHP-based AI Agents requiring robust unit testing capabilities with Mockery and PHPUnit. A MMORP Idle Browser Game

mungus451 mungus451
[0]
[0]
Updated: 3/4/2026

Quality Score

Top 5%
21
Excellent
Based on code quality & docs
Installation
SYS Universal Install (Auto-Detect)
Cursor IDE Windsurf IDE VS Code IDE
> npx killer-skills add mungus451/starlight_v2/Test Commander

Agent Capability Analysis

The Test Commander MCP Server by mungus451 is an open-source Categories.community integration for Claude and other AI agents, enabling seamless task automation and capability expansion.

Ideal Agent Persona

Ideal for PHP-based AI Agents requiring robust unit testing capabilities with Mockery and PHPUnit.

Core Value

Empowers agents to write comprehensive tests using the Mockery standard for config and repository mocking, and leverage the Assertion Protocol for service response validation, utilizing PHPUnit's TestCase class and helper methods like assertServiceSuccess and assertServiceFailure.

Capabilities Granted for Test Commander MCP Server

Automating unit tests for MMORPG idle browser games
Mocking configuration and repository interactions for isolated testing
Validating service responses using the Assertion Protocol

! Prerequisites & Limits

  • Requires PHPUnit and Mockery libraries
  • Limited to PHP-based applications
  • Adherence to the Mockery standard and Assertion Protocol is mandatory
Project
SKILL.md
949 B
.cursorrules
1.2 KB
package.json
240 B
Ready
UTF-8

# Tags

[No tags]
SKILL.md
Readonly

Procedural Guidance

1. The Mockery Standard

  • Base Class: All tests must extend Tests\Unit\TestCase.
  • Config Mocking: Use $this->mockConfig->shouldReceive('get')->with('key')->andReturn(...).
  • Repo Mocking: Mock repositories to return Entities, never raw arrays (unless it's a legacy repo).

2. The Assertion Protocol

  • ServiceResponse: Use helper methods $this->assertServiceSuccess($response) and $this->assertServiceFailure($response).
  • Transactions: Ensure the Service test mocks $db->beginTransaction(), commit(), and rollBack().

3. Integration vs Unit

  • Unit: Default. Mock everything. Place in tests/Unit/Services/.
  • Integration: Only if DB interactions are complex. Must use the try { $db->beginTransaction(); ... } finally { $db->rollBack(); } pattern found in tests/Integration/.

4. Output Format

Provide the full, drop-in PHP file ending in Test.php.

Related Skills

Looking for an alternative to Test Commander or building a Categories.community AI Agent? Explore these related open-source MCP Servers.

View All

widget-generator

Logo of f
f

widget-generator is an open-source AI agent skill for creating widget plugins that are injected into prompt feeds on prompts.chat. It supports two rendering modes: standard prompt widgets using default PromptCard styling and custom render widgets built as full React components.

149.6k
0
Design

chat-sdk

Logo of lobehub
lobehub

chat-sdk is a unified TypeScript SDK for building chat bots across multiple platforms, providing a single interface for deploying bot logic.

73.0k
0
Communication

zustand

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
Communication

data-fetching

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
Communication